State tax filing

What if it's NJ where you move to from CA.  NJ I understand doesn't recognize capital loss carryovers, so I assume I can't do anything with my prior CA capital loss for now.  What if I move back to CA (or another state that recognizes carryovers)?  Will my carried over loss be available again to me then?