Like most things in relationships, the idea that there is one right way to do things can be incredibly unhelpful.
The most important thing is that you do what works for the two of you and that you are both in agreement. From your questions, it sounds like you are.
There can be many reasons why couples might choose to sleep separately on occasion, or even as a more permanent arrangement.
Work hours, or simply different sleep/wake rhythms, may make it necessary to ensure everyone gets the sleep they need. If one of you is a night owl, and the other an early riser, it can ensure everyone gets enough sleep.
Which of course brings us to another one of those rules that you should go to bed at the same time as your partner, every night.
Again, it’s easy to see the sense, it tends to make sexual intimacy more easily happen, and just happens if your rhythms are naturally in sync, but if they aren’t then this rule may also not work for you.
From what research there is, about 1 in 4 couples sleep in different beds some or all of the time. So you’re also not alone.
And of course, sleeping in the same bed all the time, and going to bed together every night is - in and of themselves - not a guarantee of a good relationship.
What does guarantee a good relationship, is regular open communication and emotional connection, neither of which requires us to sleep next to each other.
In fact, being able to negotiate and talk about each other’s sleep needs, and being creative and flexible about how to ensure everyone is getting what they need may in fact be indicative of healthy communication.
Having said all of this, of course for some, being separate at night may lead to distance, and while this isn’t the case for you, it is worth noting the obvious - if it doesn’t work for you, then don’t do it!
So, rest assured, the only judges of whether it is a good idea for you, are you and your husband. Not a rule, advice on the internet or your friend’s worries.
And besides, sneaking into each other’s beds at night can even be exciting, as can the novelty of sleeping together when the mood strikes you.