Cal. Rev. & Tax. Code § 19701.5
(b) Notwithstanding subdivision (a), any person who signs his or her spouse’s name shall not be guilty of a misdemeanor when one spouse is physically unable by reason of disease or injury to sign a joint return, and the other spouse, with the oral consent of the one who is incapacitated, signs the incapacitated spouse’s name in the proper place on the return followed by the words “By ____, Spouse (or Husband or Wife),” and by the signature of the signing spouse in his or her own right, provided that a dated statement signed by the spouse who is signing the return is attached to and made a part of the return stating each of the following: