Whenever any person who has been committed to a state hospital pursuant to Section 1026 is released for any reason, including placement on outpatient status, the director of the hospital shall notify the community program director of the county, and the chief law enforcement officer of the jurisdiction, in which the person will reside upon release, if that information is available.