A couple of things:
If you can work from home entirely - you rarely if ever have to commute - then you can save a lot of money on real estate costs by living in a smaller, more remote place. Basically, the bigger the city, the higher the costs, for the most part. (Vancouver is more expensive...