State tax filing

Hi 

Still a little unclear on a few things. So does this mean that I would pay both taxes out of my paycheck (2024) but then would have to wait a year to get credit on the double taxed amount (2025). Or would I be able to apply the credit in the same tax year?

 

Also is it possible for both states to claim me as a resident as I would be spending approximately 150 days in California a year and renting a studio for when I work?

 

Thanks so much for answering my other questions and hopefully these ones as well.