Can we divide the federal reported income from Instacart on a 1099-NEC between two state income tax returns?

My son worked Instacart in MA and CA but only received one 1099-NEC. We report the total earnings on his 1040 but should he divide the earnings between the two states?