Yes, expat health insurance is a type of 'incoming' health insurance, which has a maximum duration of 5 years from the date of entry to Spain.
Your policy is automatically approved for 5 years from the date of entering Spain (which will also be reflected in your official policy document). But don’t worry, should you not need the policy for the whole duration, you can cancel the policy anytime on a monthly basis.