Answer:
I'm not taking credit for this answer but here's what I found on the web:
Explanation:
You ask one of them 'If I asked the other guard which one the road to heaven was, which one would he say?'
Then you take the OTHER road to the answer they give.
If you happened to have asked the 'Truth teller'; he knows that the liar would give the wrong road, and so he would answer the wrong road to your question.
If you asked the 'Liar'; he would know that the 'Truth teller' would answer that it is the right road, and so as he is a liar, he would tell you the wrong road.
Both people would give you the wrong road and so you pick the road which is not in their answer.
SOURCE: https://answers.yahoo.com/question/index?qid=20090421050313AA9gawh