Capital Loss Carryover for Part-Year Resident

In my 2023 Federal return, I have a capital loss carryover of over $3,000. In 2023, I moved from WA state to NY, and then from NY to CA. As such, I was a part-year resident in both NY and CA. When calculating my capital loss carryover for my NY and CA state return, should I use the $3,000 amount?