If you say that money is no object or distance is no object, you are emphasizing that you are willing or able to spend as much money as necessary or travel whatever distance is required. [emphasis]
Hugh Johnson's shop in London has a range of superb Swedish crystal glasses that I would have if money were no object.
Although he was based in Wales, distance was no object.