When is it acceptable (in your opinion) to leave your baby over night ?

My baby is 5 months old. We sleep in the same bed. I can’t imagine leaving her yet :( but also she’s teething and I’m exhausted. Wish I could spend a night alone with my husband sometimes but I would miss her so much . We’ve had so many offers from our parents to keep her overnight and I always Say no.