ref
early 20th century: abbreviation.
dorm (n.)
"residence hall of a U.S. college or university," 1900, colloquial shortening of dormitory. Earlier it meant "a slumber, a doze" (1510s), from the stem of the Latin verb.