However U.S. copyright law does have a statutory limit on how retroactive registrations can be. If you file a registration within 90 days of first publication, the registration is retroactive to the date of publication; but if you file more than 90 days from publication, registration is only effective from the date of registration.
Fwiw, even with unregistered works you have some options available to you, just not damages. For example, you can file a DMCA takedown notice.
An exception is foreign works, whose owners can file a suit without first registering, since treaty obligations don't allow the U.S. to subject foreign holders to "formalities". However foreign holders are limited to recovering "actual damages" in such suits, and need to register to be eligible for per-copy statutory damages.