In the UK, laws depend on the area. If you are within a housing association property, the opposite sex siblings cannot share a room past age 10. It is not a law, per se, for private housing.
www.reference.com
The housing authorities view on this seemed to have relaxed over the years. In 1983 we went from a 2 bed to a 3 bedroom house within weeks of our daughter being born