Under such regulations as the Secretary of the Navy prescribes, officers in the Nurse Corps may be assigned quarters in naval hospitals.