is it legal to share a bedroom with your child