Section 27(1)(a) in U.P. Juvenile Justice (Care and Protection of Children) Rules, 2004
(a)while children of both sexes below ten years, may be kept in the same home, separate facilities shall be maintained for boys and girls in age group 5 to 10 years;