Does a home I purchased in my name count as "resident" if I don't live there?

I am selling a home and want to understand tax implications. I've owned it for 12 years - for 5 of those it was rented as income property, but the rest of the time my own parents have lived there and I didn't collect rent