it highly depends what you're trying to achieve.
that saying is more accurate of acquiring abs.
"abs are made in the kitchen, not the gym"
being that approximately 10-15% of your bodies basal metabolic rate is modifiable by exercise in general. Basal metabolic rate is the bodies ability to burn calories at rest to keep the body alive and functioning properly. normal funtional range is 60-75% of a persons daily caloric intake. http://www.bodybuilding.com/fun/bmr_calculator.htm
excess calories of course turns into fat.