Get your taxes done using TurboTax

The exercise of the NQSO created "compensation" reported on your W-2 so the states of New Jersey and/or New York got their taxes - however that worked out - at the time.  The subsequent sale is entirely a "California" event.  (If you had actually exercised while a resident of California I'm sure the states of New Jersey and/or New York would want their share.)

Tom Young