Go to one of the guards and ask "If I were to ask the other guard if this door leads to life what would he say?" and "If I were to ask the other guard if you say the truth what would he say?". On the second question if his answer is yes then he is the liar, If his answer is no then he is the truth-teller. I don't know how to summarize it into one