Where do you vote? What state do you have a driver's license in? What address do you use when you file your income tax?

You can't be a resident of two states, you need to pick one.

General rule of thumb is you must reside at the address for 6 months and a day for it to count as your permanent residence.