Sold a second home constructed with installment payments to a builder over a 2-year period. Is LT capital gain calculated at end of last payment or occupancy?

Occupancy was September 2021, but final installment was November 2021.  Do I have to wait until November 2022 to consider house a Long term capital gain?