Forgiveness is an act of the will and the will can function regardless of the temperature of the heart.
Next Article
If only I wasn't an atheist I could get away with anything. You'd just ask for forgiveness and then you'd be forgiven. It sounds much better than having to live with guilt.