This is stupid. If a friendship stretches beyond work, you can remain friends after you move on to another job. If you all work for an exploitative boss, move on and help your friends find a job at the new company that doesn’t suck.
That second step requires work life balance rather then workplace being also the place where you are expected to socialize on top of working. Because that additional workplace socializing takes additional time ... making you not having time to meet up with former collegues.