At the end of the first season, a flashback reveals that Shane (Jon Bernthal) left Rick behind as chaos erupted in the hospital. About a month later, Rick came out of his coma and found himself alone. Surviving that long without food and water is unlikely, especially in his state.