habitation vs residency

habitation

noun
  • A place of abode; settled dwelling; residence; house. 

  • A farm. 

  • The act of inhabiting; state of inhabiting or dwelling, or of being inhabited; occupancy. 

  • A group, lodge, or company, as of the Primrose League. 

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 habitation and residency occurred in a corpus of books? (source: Google Ngram Viewer )