If a person comes into this state in obedience to a subpoena directing the person to attend and testify in this state, the person shall not, while in this state pursuant to the subpoena, be subject to arrest or the service of process, civil or criminal, in connection with matters which arose before entering this state under the subpoena.
AS 12.50.030