In some cases, if the bride's house is far away from the man's house, the bride can stay at the man's house the night before the wedding, in which case the bridesmaid does not need to spend the night at the man's house. In addition, it is a custom in some places that bridesmaids need to do some preparatory work the night before the wedding, such as helping the bride put on the wedding dress and preparing wedding supplies, so bridesmaids may spend the night at the woman's house.
In short, the specific wedding customs may vary from region to region and family. You can learn more details from the local wedding planner or related personnel.