Live in CA, work in AZ.

I live in CA, but the hospital I work for is in AZ so I am classified as an AZ employee that works remote.  Do I have to pay both AZ and CA income taxes.  My employer says taxes only come out of the state you work in, not the state you live in.