Deductions & credits

"If you were a resident of Michigan (MI) the full  year of 2021 and physically worked in California (CA) where the income from the settlement was derived then you include the income on the CA return as a nonresident and the MI return as a full year resident. " This is exactly my situation, thank you!