(a) General rule.--This part has applicability at all times and in all places, provided that the person accused is subject to this part and subject matter jurisdiction is established under section 5104 (relating to subject matter jurisdiction).
(b) Location of proceedings.--Courts-martial and courts of inquiry may be convened and held in units of the State military forces while those units are serving outside this Commonwealth with the same jurisdiction and powers as to persons subject to this part as if the proceedings were held inside this Commonwealth, and persons subject to this part accused of committing offenses outside this Commonwealth shall be subject to trial and punishment either inside or outside this Commonwealth.