I have heard some people say it does matter, but really, at the end of the day it is not only about the university you went to. Your degree could be from a top uni but not really suited to your career plans - what is the point then, if you do not get the set of modules that provide you with the specific skills you need? Having said that, if you are planning to go beyond undergrad, top institutions tend to get more funding, especially if they care a lot about the department you will be in. But, on the other hand, I have learnt from my own experience that a poorly-known institution does not equal a bad degree.
I am speaking from my experience and that of my friends though, and we are all more or less in biology-related degrees, so might not necessarily be the same for you