The rise in remote work is changing the way many people are thinking about homeownership. For some, that can mean trading expensive cities and regions for more affordable communities where they can get a better deal on a home.