Third, at who was delivered up for our sins, he assigns the cause why faith in the resurrection of Christ justifies, saying, who, namely, Christ, was delivered up, namely to death, by God the Father: he that spared not even his own Son, but delivered him up for us all (Rom 8:32), by himself: he gave himself up for us (Eph 5:25), by Judas: he who delivered me to you has the greater sin (John 19:11), and by the Jews: they will deliver him to the gentiles to be mocked (Matt 20:19).
And rose again for our justification, i.e., to justify us by rising: that, as Christ is risen from the dead by the ...glory of the Father, so we also may walk in newness of life (Rom 6:4).
That he was put to death for our sins seems plain from the fact that by his death he merited the remission of our sins, but he did not merit by rising, because in the risen state he was not a pilgrim but one who had arrived.
Therefore, it must be said that Christ's death was salutary for us not only by way of merit but also by way of effecting it. For since Christ's human nature was somehow the instrument of his divinity, as Damascene says, all the acts and sufferings of his human nature were salutary for us, considering that they flowed from the power of his divinity. But because an effect has to some extent a similarity to its cause, the Apostle says that Christ's death, by which mortal life was extinguished in him, is the cause of extinguishing our sins. But his resurrection, by which he returns to a new life of glory, he calls the cause of our justification, by which we return to the new life of justice.
Source: Commentary on Romans