F1 VISA

Hi

My question is:

If F1 student ( in the year of 5th presence still 1040-NR) has been 365 in Virginia for 2023 with a W-2 from university, should file form 760 of Virginia as a resident or non-resident of Virginia?

 

Thanks for your help!