Question About Permanent Residency

Hey there,

 

I became a resident in 2021 after 5 years on my F-1 visa since 2016, and then at the end of 2022 switched to Q-1. Would I continue being a resident on an O1 visa?

 

Thank you