The key is to find a project where the project team is based in a number of locations, so it doesn't make sense to be in one site.
Client before last, I did three projects. First one - business users were in Massachusetts, technical team in Berlin, me in UK. Second one was all run from Berlin. Third one - PM in Massachusetts, business users in India, technical management in Berlin.
This client is a truly 24+ hour business which never sleeps - based in almost every timezone, so there is no logical place to be based.
For each one, I've also negotiated a lower rate and then they pay expenses, so there is an incentive for the client to keep me away from site.
Apart from a two week stint away with this client to meet the team, I've not been into an office in over three years now. It's going to be a massive culture shock when I have to go back into a client office, but for the time being I'm very happy working from home.
I take my children to school in the morning, and pick them up most afternoons. I have lunch with my wife every day. I eat healthier than when I'm away, and I do more. Can't beat the life as far as I'm concerned :-)