No, you are not qualified for Home Buy Tax Credit because of the house that was owned by your spouse or common-law partner in the year of the acquisition or in any of the four preceding years.
For more information, please see out TurboTax article as Who Can Benefit From the Home Buyers’ Amount?
Thank you for using TurboTax