At the time Jesus and the two criminals were hanging on the cross, the Old Covenant was in effect.
The point is that the thief was saved before the terms of The Gospel of Jesus Crrist
death = repentence
burial = baptism
resurrection = receive gift of holy Spirit