Once your D7 has been approved, you will need to stay in Portugal for a minimum of 183 uninterrupted days per year. Alternatively, you can stay in Portugal for 8 months with some gaps.