If you receive a salary from a country that has a double taxation treaty with Portugal, as a non-habitual resident, you will not face double taxation in Portugal.