Sale of home rule

Do I qualify for the 250/500 rule of tax exception of selling a home if I lived and owned and lived on that property for only 4 1/2 years before selling it?