You are legally considered to be absent from work as this is a force majeure situation where it is not possible for you to attend work for reasons that are no fault of your won. Your employer cannot therefore regard your absence as unlawful absence or dismiss or suspend you for not attending work.
If it is was the decision of the health authorities that you be quarantined at home, you will also be entitled to receive salary during your quarantine as it can be equated with illness. To the extent possible, you must offer to perform your work from home in this situation.
If your employer has dismissed you without the involvement of the authorities, you are entitled to receive salary during your quarantine. To the extent possible, you must offer to perform your work from home.