I dont think it is a requirement upon landing. But as this is legal document like birth certificate you should have it already upon landing because you may need it someday and no need for you to go back home just to get copyof your marriage certificate.