I'd say that as long as the age difference is legal and your parents are okay with it, it's not a bad thing to date someone older/younger. However, just because it's not bad doesn't mean it won't be hard. If the age difference is very big, you are probably going to be at different levels of maturity and just different places in life. You'll probably hang out with different people and be interested in different things. If you really love each other though, you can get past those things if it's meant to be.
EDIT: I'm pretty sure the age laws apply only for sex, not for if you're just dating.