I'm not aware of a country that makes it illegal to abstain from vaccination, but it's bureaucratically difficult in the US once the child reaches school age. I know that the state I grew up in (Virginia) required proof of vaccination upon entering public school. Even my college required proof of vaccination.
Which is something I hadn't thought about when it comes to the anti-vaccination crowd. I wonder what they do when their kids need proof of vaccination for school.