If it's loneliness that concerns you (whew lad), I would just say that being forced to socialize with the criminal population feels just like being alone, with the exception that you can really get stabbed.
The criminal population is as stratified as the outside population. The lifers often want nothing to do with the short term convicts, and none of them want anything to do with the violent or the child molesters.