I moved around a lot as a kid. One thing you learn pretty quickly, is to make clean breaks.
Sure you can try to stay friends, but once you've moved away, those friendships will inevitably fade. Those friendships were real, but they existed in a particular context. You bonded over work stuff. You talked about work stuff. You're no longer a part of that context, so they've ended. 99% of the time you can only delay the inevitable.
That doesn't mean the friendship wasn't real. It just means that it didn't last. That's life.
Join a club, volunteer, make new friends.