The irony here is that the Romans 8:1 statement about not coming condemnation are followed by an explanation as to the basis of not coming into condemnation.The problem is there are statements that say those justified by faith "shall not come into condemnation but are passed from death unto life" but there are no statements in scripture that anyone will pass the judgement based upon their works.
And that explanation is that God will transform that person through the Spirit so that they will put the misdeeds of the body to death and yes, get (eternal) life as the result.
Romans 8 is another reason to believe that Paul means what he says in Romans 2 – that eternal life is granted based on the good works manifested in the life of the believer.
In Romans 8, Paul writes this:
Therefore there is now no condemnation for those who are in Christ Jesus.
Why is there no condemnation, that is why can those “in Christ Jesus” expect eternal life? Paul goes on immediately to tell us why. Note all the “for”s here – they serve the same function here as the word “because”:
For (D)the law of the Spirit of life in (E)Christ Jesus (F)has set you free from the law of sin and of death. 3For what the Law could not do, weak as it was through the flesh, God did: sending His own Son in the likeness of sinful flesh and as an offering for sin, He condemned sin in the flesh,
4so that the (J)requirement of the Law might be fulfilled in us, who do not walk according to the flesh but according to the Spirit.
Why is there no condemnation?” Because (for) we have been set free from slavery to sin so that……what?
So that we can walk according to the Spirit – do good works as the Spirit enables us.
That is why there is no condemnation – we are enabled to walk according to the Spirit. Notice that Paul did not say “there is no condemnation because you have mentally assented to the proposition that Jesus is Lord and has died for your sins”.
What Paul says here is precisely what we need to know to make sense of what he has said in Romans 2, where he said, clearly, that eternal life goes to those who do good.