Thank you for choosing TurboTax
To be eligible for the Home Buyers’ Tax Credit, you must meet both of these criteria:
According to Canada Revenue Agency, the Home Buyers’ Plan (HBP) allows eligible first-time homebuyers to withdraw up to $35,000 tax-free from their RRSP (for withdrawals made after March 2019. Withdrawals made before March 2019 could not exceed $25,000), to be used towards a down payment on the purchase of the home. March 1, 2021, is the deadline for contributing to an RRSP for the 2020 tax year. So you need to claim credit for 2020.
Please visit these site for more information: https://turbotax.intuit.ca/tips/who-can-benefit-from-the-home-buyers-tax-credit-5203