Hello! I am a CPA here to assist you with your tax questions. My goal is to provide you with excellent service today.
How are you today?
If you had to leave your primary residence for work, because of illness, or unforeseen circumstances you may be able to exclude a portion of your gain.
So, in your case if you met the criteria you could exclude up to $125,000 - $250,000 if married filing jointly
Here is a great article that explains all of this: http://www.tscpa.com/content/files/tscpa/Journal/articles/home_sale_gains.pdf
Is there any additional questions you have for me today?
If not, please rate my response as "excellent" so that I may receive credit for assisting you today