I received a K1 from an S corp in CA (I am a passive part owner). I lived in AZ for all of 2017. Do I need to file a CA state tax return and pay taxes on the K1 income?

For my federal returns, I had passive losses from previous years to negate the S corp income from 2017.  Do I still need to file California state taxes based on the 2017 S Corp income reported on the K1 without the benefit of carrying forward passive losses from the previous years?