No. Your employer must follow these steps:
Provide a physical copy (paper)Must be handed in personMust have confirmation that you received itMust have a physical signature
If your employer tries to fire you over email, phone, whatsapp, etc., then it is not valid.