Was there a judgment of legal separation?
Quote Quoting California Family Code, Sec. 772.
After entry of a judgment of legal separation of the parties, the earnings or accumulations of each party are the separate property of the party acquiring the earnings or accumulations.