Supposedly the ancient Romans believed that one's body and soul renewed itself every seven years, which is probably the origin of this myth.
Regrettably, I can't find a good citation on that, although it's widely cited as the origin for the superstition that breaking a mirror causes seven years of bad luck.