Residency for tax purposes is not the same as residency for tuition purposes. States want you to pay tax, so it’s easy to acquire tax residency (and hard to escape, even if you move abroad, which state were you born in?). They don’t want to make it easy for you to get discounted instate tuition rates.
The fundamental question is if you will be an independent or dependent student. That’s why people are asking about parent contributions. You need to support yourself if you want to be independent, otherwise you are a dependent and then in most states you can’t get residency for tuition purposes unless your parent(s) live there. Utah is a rare exception in that you can gain residency after a year of physical presence even if your parents live elsewhere.