The Quiet Earth by Craig Harrison

A man wakes to discover that a mysterious global event has emptied the planet of people, and as he wanders through eerily deserted cities and landscapes he confronts the psychological toll of absolute solitude; when he eventually encounters other survivors their fragile alliances and conflicting explanations for the catastrophe force a tense moral and existential reckoning about responsibility, guilt and the uncertain nature of reality.