Legally, Mozambique offers no provisions for the unemployed.
Note that if your visa is tied to your employment status and you lose your job, you have a small grace period but may be required to apply for a different visa or leave the country and re-apply.