In California, it does not matter who files for divorce first. Since California only uses no-fault grounds for divorce, neither party will be blamed or punished for the wrongdoing. Therefore, both spouses have equal initial rights and capabilities to get a fair divorce outcome.
However, if you fear that your spouse may hide assets or take children from your care, filing first may help you get a restraining order sooner and prevent this from happening.