Many of the comments/responses to me seem to be missing the original context. Yes, all friendships come and go. Yes, interaction isn't family and family isn't interaction. Yes, you can carry on friendships with people after you quit.
Everyone is saying true things. But as someone who has moved cross country to work at a startup, treated the startup as my social life, and then left that job... I was devastated by the number of people who I thought were close friends who basically didn't talk to me after I left the company. I learned that lesson in a really rough way at 26.
Now, I take my own advice, and when I meet people through work that I get along well with, I try to move that friendship outside of work so hopefully it has a chance to outlast the job and be an ongoing social connection. That also opens my network up to their friend network. It also gives me social support beyond someone to gripe about work with.
That's all I'm saying. When you have no friends or support, having daily interactions is good/necessary, but try to use that to solve the main problem: having no friends or support.