State tax filing

Does this still apply to tax year 2021? My daughter lived in Texas, but she worked online for the state of Rhode Island. Box 15 shows Rhode Island on the W4, but she did not move until 2022. Do we need to file the state income tax?