State tax filing

I found a solution myself:

 

In the form Sch CA (540NR), there is a line saying: "Check this box to transfer the information from the Yourself column to the Spouse/RDP column". Uncheck this box will clear the dates from my spouse who is a non-resident.