This is false. It is true that the church teaches that you can be saved without going through the church, but this does not apply if you are aware of the church. Invincible ignorance does not apply to those who are not ignorant.
You can check the catechism if you want. It puts it in black on white.