I'm not sure I follow. If you can't regulate welfare depending on length of residency, it's fairly trivial to come out of state for just long enough to establish residency, then immediately claim full benefits, and move away once you don't need them anymore.