Cap was never supposed to die forever and ever. The writer had the whole thing planned from the begining. He did have shoe horn CIVIL WAR into his plans but he basically had it planned from the relaunch that cap was going to be "unstuck" in time while everyone thought he was dead.