no, they don't care when you take the course, as long as you have fulfilled the requirements BY the time you matriculate. Usually though, people would rather have finished most of the prereqs before applying, and would have a few left to finish on the last year. So you are fine, don't worry. Good luck.
phospho