Deductions & credits

Is there a limit like 2,4, 6 months for me to close on my new home after I sold my current home?