A dormitory building or portion of a school building devoted to dormitory use shall be allowable only as an accessory use to a private or parochial school and shall meet the principal building setback requirements of the zone or 50 feet, whichever is greater, and shall meet the requirements of the New Jersey Department of Education.