Not everyone can do that. Many areas also completely lack the public transit infrastructure needed to support a normal life.
E.g., a couple of days ago, I was shocked to learn just how bad the UK public transport system really is, apparently, outside of major metros (https://news.ycombinator.com/item?id=49445286)