I don't have the proper letters behind my name to make an authoritative interpretation, but the following excerpt (particularly the last sentence) from Publication 590 seems to indicate that you would not qualify.
First-time homebuyer. Generally, you are a first-time homebuyer if you had no present interest in a main home during the 2-year period ending on the date of acquisition of the home which the distribution is being used to buy, build, or rebuild. If you are married, your spouse must also meet this no-ownership requirement.