Tenant is always used (I think) with regards to a residency of some sort, particularly with people that rent it, rather than own it. So, a person that rents an apartment is a tenant of that apartment. Resident is a much more general term that just denotes where a person lives.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.