This is an interesting question. The IRS form 5405 simply states that you (or spouse) can claim the credit if you "did not own a main home during the 3 year period" prior to buying the house that you wantg the credit on. That would indicate that you wouldn't qualify. It specifically mentions that the house you buy must be in the US, but it doesn't limit previous home ownership.
If in doubt, ask your CPA or call the IRS.... more