Hello, my friend, I'm glad to answer your question! First of all, the servant who is left by the side door is not an ordinary servant girl, but a servant girl with a higher status than the ordinary servant girl, who is also a man's woman. Of course, they stay aside so that the host and hostess can sleep better. The preparation and cleaning before and after sex are also theirs. Moreover, when the hostess is unwell, the maid will serve the host instead of the hostess.
The hostess is willing to let the maids serve her master because they are easy to control and their status will never be higher than that of the hostess. If there are some accidents while sleeping, such as thieves and fires, people who are awake will know first.