Capital Gain on sale of Rental Property

I am over 74 years old trying to sell my rental property. I lived in that house for 10 years till 2019, but rented out for 4 years and it has been vacate for a year.  Do I get a tax exemption of $500K? 

Thanks

Moe