Cal. Rev. & Tax. Code § 19314
(a) Notwithstanding any statute of limitations otherwise provided for in this part, any overpayment due a taxpayer for any year, shall be allowed as an offset in computing any deficiency in tax, for the same or any other year, if the overpayment results from any of the following: