Question: how is tom keen alive?
Answer: Keen died during the midseason finale after being attacked by Ian Garvey, the season's main antagonist. He is still dead, but appeared as a figment of his wife Elizabeth Keen's (Megan Boone) imagination. The moment happened when Liz went to Tom's grave to reflect on the events that had just transpired.