Why Have Holy Days Of Obligation?

Why do we have holy days of obligation?, would there have been a resurrection of the body without the Fall, and if I become Catholic, how far back do I have to go to confess my sins?