CA state tax selling primary residence

If my spouse and I have owned and lived in our house for at least two years, then we we also get the $500,000  exclusion from California state tax like from Federal tax?  Thank you,