Maintaining communication, being honest, and understanding the circumstances are essential for keeping a relationship alive behind bars.