You can sell the property anytime you wish.
If you are talking about making it your principle residence for tax purposes,.....
From the best of my knowledge you must have lived in it 2 of the past 5 years.
BE SURE TO CONSULT WITH A CPA and verify this info.
I am a real estate broker not a CPA. Tax advice should be answered by tax professionals.
Harold Sharpe - Broker
So Cal Homes Realty
California Department of Real Estate License # 01312992