While the copyright itself can arise without registration, the ability to file suit in federal court for infringement of the copyright arises only once registered. Registration can take place after the date of infringement. For more see
http://www.copyright.gov/help/faq/faq-general.html#register