No. As a rule, cats avoid electric fences. They are extremely perceptive to the electromagnetic fields as a result of induction, which causes electrostatic energy. Rub a plastic ruler up and down your arm: your your arm hair becomes full of static – Right! Cats experience the same thing, and so tend to avoid an electric fence.
Dogs will touch the fence only once! No way will they come back for more.
Will it kill them: No.