Deductions & credits

It would need to be your "Principal Residence", your Main Home.  So that would mean your mail is delivered there, your Driver's License is there, etc.  Also, moving back in after the rental subject it to the 'prorated' exclusion.  Sorry for the bad news.

Reducing the sales price could be worthwhile if it meant meeting the two year deadline.