I need to file taxes for 2022,2023 but for a different state. Can I do that on Turbo Tax

I have Turbo Tax 2022 and 2023 installed on my computer. I already used my one state download. Can I go back in those programs and do another tax return for those years and do state taxes for a different state? How much does that cost?