dwelling vs residency

dwelling

noun
  • A house or place in which a person lives; a habitation, a home. 

residency

noun
  • The home or residence of a person, especially in the colonies. 

  • The condition of being a resident of a particular place. 

  • The position or term of a medical resident. 

  • Synonym of rezidentura 

  • The position of a musical artist who commonly performs at a particular venue. 

How often have the words dwelling and residency occurred in a corpus of books? (source: Google Ngram Viewer )