I absolutely agree with Bookcat: this is not a correct understanding.
With regarding to all attachment to sin: frankly, I think Fr. Z has done a great job explaining this concept. See here:
… I don’t think we have to be a hermit living on top of a tree beating his head with a rock to be free of attachment to sin so as to gain this plenary or “full” indulgence. …
When it comes to complete detachment from sin, even venial, few of us live in that state all the time. Nevertheless, there are times when we have been moved to sorrow for sin after examination of conscience, perhaps after an encounter with God as mystery in liturgical worship or in the presence of human suffering, that we come to a present horror and shame of sin that moves us to reject sin entirely. That doesn’t mean that we, in some Pelagian sense, have chosen to remain perfect from that point on or that by force of will we can chosen never to sin again. God is helping us with graces at that point, of course. But we do remain frail and weak.
Now, regarding perfect contrition: this is something I’ve struggled with in the past. I used to think that perfect contrition was some sort of incredible grace that very few are able to experience, and those who do are already living Saints. (Of course, that does compel the question of what on earth living Saints are doing falling into mortal sin, but I digress.)
I would recommend the OP read this article, since it shows how perfect contrition is very attainable to every person who asks it of God: catholicpamphlets.net/pamphlets/CONTRITION.pdf.
It furthermore shows that perfect contrition is not detesting sin only because we love God, but that lesser motives, such as fear of hell, can co-mingle with love for God in such a way as to result in perfect contrition.
Here is Colin Donovan on the question: ewtn.com/v/experts/showmessage_print.asp?number=370862.