He had been banned from office by the Supreme Court some months ago, on the basis of the trumped up charges that Musharraf charged him with post coup, but since then, the Musharraf appointed chief justice has been replaced by Iftikhar Muhammad Chaudhry, who had been removed by the general, and whose whose reinstatement was the subject of massive protests, ruled that the charges in question were bogus.
There should be no short term political impact, but it is clear that Sharif is more popular than the current president, Asif Ali Zardari, who is seen as both ineffective and remarkably corrupt even by the standards of Pakistani politics, and it is likely that he would win when an election is held.