Did you pay rent for at least half of 2018 on property in California that was your principal residence? Is an apartment that I'm renting included.
An apartment would meet those requirement if it's in California and you were there for at least 6 months. It can even be more than one apartment, as long as they are in California and together they add up to at least 6 months.