what state should i file income tax

my daughter went to graduate school as a student in illinois and paid 20000 by school's research money from 1/1/23-5/31/23. after then she went to work in PA from 6/1/23 to now. her drivers license and vote registration are still in TX.  no one will claim her as a dependent. which state should she file income tax?

thanks