It doesn’t matter when I lived near friends and family.
At our ages 40-60, we all have our own immediate families, obligations (kids, grandkids and/or aging parents), we still have to make an effort to get together and we probably wouldn’t get together any more than we do now.
I am 50 married with adult (step)kids and my wife and I are empty nesters. We recently moved from where I lived after graduating from college in 1996 and my wife has lived all of her adult life.
My core group of 5 friends I’ve put together from jobs I’ve had when living there are all married some with adult kids and others with kids still at home. It took a lot of planning and juggling calendars just for us to get together even once per quarter when I lived there.
They all still live there and we have a group chat. But it is still less than once per quarter that we can all get together. It’s a short cheap flight for me to fly in to hang out with them.
There are two other couples that my wife and I are friends with and we all live in different cities now. Similar scenario, they both have family obligations - parents, adult kids, grandkids, etc which make it hard for all six of us to get together. But we usually have planned a trip together at least once a year and we end up in each others city for something at least once a year - Atlanta, Orlando and Los Angeles.
My third group of “friends” are my seven cousins I grew up with (I’m an only child). They are all female and also have aging parents (who are less healthy than mine), children, grand children, etc.
They all live in my former hometown and I’m also in a group chat with them. They say they often only see each other when I come to town and get us all together.
It’s the same with my college crew - we all went to college in our hone town and they either still live there or have family there. We can barely get together for alumni college events