First Time Homebuyer Credit for a Home Purchased in 2015

I wanted to know if I purchased my home in 2015 and lived in it as our permanent residence until we sold it in 2022 during our move from NY to OH, can I claim the credit on my 2021 tax return?  I have not claimed any credit since I had owned and lived in the home on any other filed taxes.