Principal Residence for Renter's Credit

I'm in California. I've lived in Town A for many years. In late 2021, I moved to Town B and lived there (rented an apartment) for most of 2022 before moving back to Town A. I think I meet all the requirements for the renter's credit. However, I never changed my official address to the Town B address while I lived there. I continued to use my Town A address on my taxes, driver's license, etc. (It's my parents' address and I felt it was safer to have important mail to continue going there instead of the Town B address.) Does the Town B address qualify as my principal residence? I lived there almost all of 2022 even though I didn't make it my official/permanent address. I'm concerned it will look suspicious to all of a sudden put that I was living in Town B.