Deductions & credits

It is quite possible that you were exempt because you qualified for one of the exceptions to the 2 year rule (the most common is a job change that is at least 50 miles further away).

 

As for your question, you can only claim ONE exclusion every 2 years.  So assuming you qualify for the exclusion for both home, you will want to choose the one that will save you the most tax.