Ronald Pelton was an NSA spy who's been in prison longer for participating in war. Except he's being held in the US and is still locked up today. http://en.wikipedia.org/wiki/Ronald_Pelton
The circumstances are a bit different: Mr. Pelton is indeed a former U.S. NSA intelligence analyst, but he's in an American prison for selling U.S. military secrets to the Soviet Union in the 1980s during the Cold War. The Wikipedia article says he'll be released in November 2015, which is surprising inasmuch as he was given three concurrent life sentences.