UCs may consider some military course work transferable:
http://veterans.universityofcalifornia.edu/prepare-for-uc/how-to-apply.html
https://admission.universityofcalifornia.edu/admission-requirements/transfer-requirements/preparing-to-transfer/transfer-credit.html
However, it is also likely that UC will see that as “college courses taken after high school” and require you to apply as a transfer student and meet transfer student requirements (mainly in terms of college course work). Contact UC directly to verify whether you will be considered frosh or transfer.
https://admission.universityofcalifornia.edu/admission-requirements/transfer-requirements/
https://admission.universityofcalifornia.edu/admission-requirements/transfer-requirements/preparing-to-transfer/