Hal_Al
Level 15

Investors & landlords

Probably not. Although the reasons your describe account for the move,  it doesn't appear to explain the delay in selling.

 An exception is allowed if the move was for employment or health reasons or "unforeseen circumstances".

However, "A  partial home sale tax exclusion is ordinarily limited to the percentage of the two years up to the date of the sale that you owned and occupied the home as your principal residence" (1st reference below).

References:
<a rel="nofollow" target="_blank" href="http://www.nolo.com/legal-encyclopedia/the-partial-home-sale-tax-exclusion-irs-approved-unforeseen-c...>
<a rel="nofollow" target="_blank" href="https://www.law.cornell.edu/uscode/text/26/121">https://www.law.cornell.edu/uscode/text/26/121</a>
<a rel="nofollow" target="_blank" href="http://www.nolo.com/legal-encyclopedia/qualifying-the-home-sale-exclusion-without-living-in-the-home...>