NO, thats absolute bullshit....if your battery dies or you disconnect it its going to have essentially the same effect.
the best option with modern vehicles is a battery tender...something that can maintain the battery at appropriate levels.
not to mention you can reprogram your computer in 2 or 3 days at the most, if i remember right. It doesnt take that long for your car to reset itself.