IRCC adds 90 days after your intended finish. For example, your intended program ends in December, IRCC usually gives you another 90 days or 3 months after that. So, your SP would be valid until March. This is because IRCC knows that credentials are not issued immediately after last day of school, but rather, sometimes even a couple of months after your last school day.