The question of how long you can go without food depends on a lot of factors. Will and determination definitely play a part. Political prisoners on hunger strikes and fasting religious leaders have been known to go for weeks at a time without any food. Gandhi fasted for 21 days while in his 70s. People lost in the wild have also survived for long periods of time without eating. Medically speaking, most doctors agree that healthy humans can go up to eight weeks without food as long as they have water. People have gone longer and been fine, and people have starved to death in less time. Being strong and in good physical shape can help you survive longer, but so does having extra body fat. The body stores energy needed to live in the form of fat, carbohydrates and proteins. The carbs are the first thing to be used up without more food coming in. The fat goes next, which explains why people with more of it can survive longer. Then the proteins go. If you get to the point that your body is using up proteins, basically the body itself, then you're in bad shape.
…Now back to the question at hand. How long can you go without water? Assuming you're in reasonable shape and in ideal conditions — that is, not in the heat or cold and not exerting, a human can probably live for about 3 to 5 days without any water. Healthier humans can live another day or so longer.