1031 Exchange

In order to do a 1031 exchange do you have to hold the property for a year to qualify?