To file for divorce in the State of California, you have to have lived there for six months. In addition, you must have also lived in the county where you will be filing the action for at least six months. This needs to be true for either you or your spouse. That means if they have lived in the county and state for at least six months, but you have not, you can still file for divorce.
