Each facility is different. Some may have visiting hours but not allow overnight visitors, while others may allow a spouse or family member to stay the night with prior approval.