Adults can sleep in the same house without anything happening. Banning sleepovers with close friends because of their gender is insecure nonsense rooted in the dumb idea that men and women can't just be friends.
Trusting your partner means ditching gender-based rules that treat friends as threats. It lets people build real bonds without paranoia getting in the way.