The only free and comprehensive online etymological dictionary of the Spanish language
habitación f. (Noun) "habitation"

13th cent. From Latin habitatio, past participle of habitare "to inhabit." From habere "to have" (see haber) and frequentive suffix -itare (see note under faltar).