If you have been separated for 10 years and the whereabouts of your spouse is unknown will a divorce be automatically granted in California?

It would not be "automatic" but the petitioning spouse can receive a divorce under the state default laws. He or she will need to prove to the court that they have made every attempt possible to locate the absentee spouse before the divorce will be granted.