F1 working remotely for an US university

Hello,

I have been holding an F1 visa since 2019 and also working as a Research Assistant at Indiana University Bloomington. Due to my PhD research, I left the U.S. in April 2022 and have been working remotely for my advisor since then. Do I need to pay federal, Indiana state, and Monroe County taxes under these circumstances? Many thanks!