Upon leaving the CIC, Shaw went to the left. A few moments later, Cain exited CIC heading to the right. After the first explosion, Shaw is dazed and Cain tries to focus her. There's no reason Cain would have doubled back bypassing the CIC to be where Shaw was in this kind of emergency.