He turns up briefly. If you kept him alive through the events of Origins, Loghain makes a cameo appearance in Awakening.
It is a short return rather than a full role, and it is conditional: let him die in the first game and the cameo simply does not happen.