Federal MFJ and state nonresident return

I'm a CA resident. My foreign spouse and I signed a declaration for the first time asking for him to be treated as a US resident for federal tax filing purposes only starting 2019. This way he can apply for an ITIN and we file MFJ federally.

 

TurboTax generated my CA state return (540NR) but it says CA nonresident on it. Will there be a problem because we're putting him as a US resident for federal, but then nonresident for state?