A new study found that previous COVID-19 infection offers at least the same level of protection as two doses of vaccines, lasting for 40 weeks or longer.