Can I count a school towards the child care credit if I used it as daycare for my two year old?

I worked full time and my husband was a full time student.  We chose to send our son to the school rather than daycare because we wouldn't be required to pay during the summer.