Definition from Wiktionary, the free dictionary
inmate (plural inmates)
- A person confined to an institution such as a prison (as a convict) or hospital (as a patient)
- A person who occupies or dwells within a dwelling-house. The word came to be used to refer to temporary inhabitants such as guests in a hotel, students in an on-campus dormitory, patients in a hospital, or prisoners.
Usage notes 
one confined to institution, such as a prison
one who occupies a dwelling-house