Yes, an Au pair needs a residence permit in Portugal. If they are non-EU residents and want to stay in the country for more than three months, they must apply for a long-term visa or Portugal residency visa before arriving.