Baptism alone doesn't make us Catholic, so in that sense baptism conducted in the proper form and with proper matter will be recognized by the Church.
A person, understanding the sacrament of baptism, of his own free will be judged accordingly; “…unless a man be born again of water and the Holy Ghost, he cannot enter into the kingdom of God.” John 3:5
Those with a desire for baptism and die unexpectedly or those martyred will be judged accordingly: “But he is a Jew that is one inwardly and the circumcision is that of the heart, in the spirit not in the letter: whose praise is not of men, but of God.” Rom 2: 29
JoeT