I agree with henrydavidtherobot. I thought staying at school would be awesome, but hell, that's when I "lost it"! I thought coming home and doing online schooling would work, but no. Soooo, I went back to the other university and commuted. Worked so much better for me mentally. I was able to interact with who I wanted and when I wanted and go home when I needed and wanted!!!
BUT just because that worked for me doesn't mean it'll work for everyone; it's just a suggestion.
I've gotten my head together well enough that I'm working part time and going to graduate school part time now.