Well yeah, he was an evil bastard for 23 years, and being evil put him in that position, he'll never be fully redeemed. But, canonically I've heard again and again that in the instant he made to save Luke from Palpatine, he returned to the Light, and died because of that act. You know, the whole lightning thing.