Yes. The certificate is valid for as long as the rule of your destination country. For instance, currently the USA stipulates that your positive Covid-19 test must be more than 5 days but no longer than 90 days ago. If the dates of your test, as written on your certificate, fit this requirement then you’re good to go.