Once issued, the short-term Portugal Digital Nomad visa is valid for up to 12 months, while the residency permit is granted for an initial 4-month period, after which you can apply for a two-year residency permit.