I would say yes. The XP system is designed to account for expenditure of resources, so if you fight something multiple times, you should get XP for it. Does your GM provide XP when you complete an encounter but don't kill the enemy? Seems like opponent death doesn't really enter into the equation.
You get XP for overcoming a challenge, not for defeating a monster. A monster's CR is a guideline on how tough the challenge is. A raised CR13 monster is still a CR13. Therefore overcoming this new challenge still counts as a CR13 challenge and will therefore yield CR13 xp.
Anguish(Pathfinder Adventure Path, Modules, Battles Case Subscriber)
A quick opinion extension. As a DM I might consider downgrading the CR of the bad guy, or rather the XP awarded. Maybe. It depends on circumstance. The logic being that once you've learned the bad guy's tricks and whacked him once, the second time shouldn't be as difficulty.
On the other hand, just because you've dispatched a Balor before doesn't mean that I'd reduce the XP for any future Balors. I guess my thought is because it's the actual same entity, his personal preferences and tactics are involved.
If he res'd in the same encounter then the additional challenge of that res should already be in the CR of the encounter, so no.
If you fought and killed him once (i.e the kobold king) and then fight and killed him x# of encounters later, then that's two seperate CR encounters and xp would be rewarded for both, the first kill and then the second re-kill.