lonecyote is right. it takes one year, but you need to be able to prove it, and sometimes they really make you work to prove it. here are some tips.
pay cali taxes.
register to vote.
register your car and get a cali drivers license.
have a credit card with your cali address, and use it regularly in cali so you have a record of contributing to the cali economy all year.