Primary residence exclusion

I know the 2/5 year rule changed in 2009 to exclude non-qualified use, just checking to see I am still qualified for a full exclusion due to job change.  

2012-2015 Primary residence 

2015-2021 Rent out due to job change (more than 50 miles)

2021-2024 Went back to old job and use the house as Primary residence.

If I sell the house in 2024 can I claim exception on non-qualified use for years during 2015-2021?

or do I need to go with prorated exclusion which is 6/12*$250,000 =  $125,000