At a minimum, the state would use insurance requirements to foil this (by requiring declared residents to buy insurance for the state of residence and not allowing that insurance to be tied to an out of state vehicle).