Under the hood, there should be a big sticker that has the emissions information. It will either say something like California emissions or federal emissions.
If it has a sticker for California emissions, you will need a catalytic converter compatible with that emissions system. It doesn't necessarily need to be a CA-legal converter, but it does need to be compatible.
Vehicles with CA emissions software have a higher threshold of emissions standards, and require more rare metals in the catalytic converters to achieve the threshold necessary to turn off the CEL. Vehicles with EPA minimum software can get away with heavy metal catalytic converters, which aren't as efficient.
California requires a very specific sizing for catalytic converters, so not only do they need the higher rare metal load, they need to be sized differently than most aftermarket manufacturers do. Vehicles with CA emissions outside of California are not subject to these requirements.
Magnaflow makes all three kinds of catalytic converters. The rare metal converters will work fine in a vehicle that only requires heavy metal converters, but not the other way around. The rare metal converters are more efficient at converting pollutants into inert gases.