Thanks for asking your question! I'm sorry to hear about your tax issue and I'm going to try my best to help you understand or resolve it.
If you were living in the house from January to May 2012 then you can add that to your other time you lived in the home to meet the 2 out of 5 year residency requirement. However, you say you moved in March 2009 - that leaves you with one year and eight months of time in the house, which is short from the two year timeframe.
However, you can get a prorated exemption of the capital gains exclusion if you moved because of employment reasons. You can get up to 208,333 in capital gains exclusion which is 83% of 250,000. You have to have moved for unforeseen reasons, such as a change in jobs, health reasons, etc.
You can read more about this topic, HERE
Please let me know if you need anything additional. Thanks again for using JustAnswer.com and have a great night.
** Please take a moment to rate my response as "Excellent" so that I may receive credit for assisting you today. Please let me know if my assistance was anything less than "OK Service", as I am compensated based on whether or not I have assisted you with your issue. If you need further clarifications, PLEASE WAIT TO RATE MY ANSWER UNTIL AFTER RECEIVING FOLLOW UP FROM ME. If I receive anything less than OK Service, I do not get paid. Thank you for your kind understanding in this matter. If you have difficulties rating, then simply respond stating that you are having difficulties rating and thank me for my excellent, good, or ok service and we can get the rating applied by the site. This answer is not financial or legal advice, and must not be used as such. For financial and legal advice, please contact a local professional.*
You should be aware that your question, as with most tax questions, can never really be answered completely...addressing all the permutations; that is because of the many assumptions that have to be made I have done my best to determine what I think you are asking and answering it in the most direct and understandable manner possible. If, however, after reviewing the questions, you have any uncertainties or further questions, please do not hesitate to ask.