No. Immigration residency allows you to stay according to the conditions of your permit; the right to work depends on the permit and local law. Citizenship is a distinct legal bond with the state, with its own rights and obligations.

A period of residency may be one of the requirements for applying for naturalization, but the timing and conditions are not universal. A passport follows the acquisition of citizenship and the related formalities: it does not automatically result from a residence permit.

Learn more: Citizenship in Panama.

Sources: MAECI: citizenship, marriage and plurality of citizenships.