The witness does not have to appear unless the witness is a resident of the state. However, a non- resident witness must produce the subpoenaed records if the witness is a custodian of records and the subpoena does not require personal appearance. (CCP 1989, 1987.3)