I don’t quite understand your question. If you claimed a credit in 2020 when you owned the house, and you have a carry forward because of your tax situation, you still get to use the carryforward even though you moved out of the house (because the original claim occurred when you lived in the house).
If that was not your question, please post a clarification.