If you are a California resident service member stationed outside California, your military pay is not taxed by California. Military pay you earn while stationed in California is still subject to state income tax.
There is nothing to apply for. Leave the military pay you earned while stationed outside California out of the income you report on your California return.
Your Leave and Earnings Statements and orders showing where you were stationed during the tax year.