You do not mention what state you are in. But do remember that if you are preparing a 2024 tax return, the software is asking you for dates in tax year 2024---not your life history of living in the state.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**