Is it illegal for a brother and sister 5 and 2 to share a room together in New Hampshire?

it is not illegal for a brother and sister who are aged 5 and 2 to have to share a room in New Hampshire. The parents can however have them in different rooms if the space permits.