I don't think there is a time, you just have to "live" in the state. Most require you prove you live there with a drivers license or apt. lease or utility bills in your name. I know that is what the state of CA requires to get a card. Not sure about the states u are asking about but I would assume it would be the same.
Forum:
Off-Topic