Much has been made of "living near your place of work", or, "living near children's schools".
These two items are not fixed. Children go to different schools at different stages of their education. Jobs are not jobs for life, it may be necessary to change jobs several times in one's "working life". If there are two working partners, then there may be the added problem of having to be near both places or work.
Humans are creatures of habit and their brains work associatively to a larger extent than they will admit. It is out of the remit of this thread but why people end up in the jobs they do is very locked up in these two ideas.