Your totally correct because in the old testament you received salvation by following the mosianic law right down to the dot, but in the new testament you received salvation from grace. Most Christians don't realize this, but whatever.
The Mosaic law showed that no one could live up to it and mankind needs a Messiah, Savior or Deliverer from death because no one can resurrect oneself or another.
So salvation comes via resurrection.
Remember that Abraham know through Isaac all nations would be blessed through his seed. Abraham believed so strongly in the resurrection that he was willing to sacrifice Isaac knowing he would be resurrected back to him.
Since death is the price sin pays, then even those under the law paid the death price tag by their death. Doesn't Romans [6v7] say the one who has died is freed or acquitted from sin? So with the exception of the unforgivable sin of Matt 12v32; Hebrews 6vs4-6, all dead ones because of inherited Adamic sin [sin because of inherited imperfection] will be part of the resurrection of Acts [24v15].
Through God's grace, his undeserved kindness, we can gain life again.
Although death frees or acquits does not mean innocent, but as a governor can pardon a person so the crime [sin] charges no longer stick.
God sent Jesus to be our Redeemer, Savior, Deliverer, Messiah so the dead can live again.
As for those of us alive on earth at the time of Jesus 'glory' [Mt 25vs31,32] we can remain alive and keep on living right into the start of Jesus peaceful 1000-year reign over earth with having everlasting life in view with the prospect of never having to die.