Yes. "Non-assistance à personne en danger" is a crime in France punishable by up to 5 years in prison. Personally I'm absolutely fine with people being punished for not helping save someones life.
However this must only be if doing so does not pose any risk to the helper. See [0] for a list of countries with similar laws.