The answer for this question is: 30 days
This regulation is created to prevent voters to create duplicate vote for each state (by moving during the same day of the votes)
Since American election is done using the electoral system, a single amount of vote from each states is really crucial and could change the direction of the victory.