in which convicted if such jurisdiction is different from the jurisdiction of residence. (b) Initial registration The gun offender shall initially register— (1) before completing a sentence of imprisonment with respect to the offense giving rise to the registration requirement