Yes. You'd (we'd) need better infrastructure (20 miles is doable via train or something) and more remote work. That's also something that will be more widespread in the coming years.
Plus we need more environmental-conscious lifestyle choices from people. Where one lives is also a lifestyle choice, not an invariant.
The only reason today's cities exists the way they are (huge suburbs, lots of commuting) is because they are based on car transportation, unfortunately this is pretty hard to change.
See this for a historical overview: https://www.citylab.com/transportation/2019/08/commute-time-...