When it comes to friends, no. I could care less about age, it's about their character and values.
But when it comes to dating, I absolutely care about age. If they aren't the same age as me, I view them as a "younger/older sibling figure" or something like that, so I can't imagine dating them.