Parents can be kind of a problem in YA. How is your MC supposed to get anything done with parents staring over her shoulder? But parents do exist, and you have to figure out what to do with them. Children—especially nowadays—come from such a variety of family situations. Married (happily or unhappily), divorced, same-sex couples, adopted, one or both parents MIA or dead, raised by a grandparent; the list goes on and on.
There seems to be this idea that parents need to be ‘gotten rid of’ in one way or another, or your teens won’t be able to get up to any mischief. Sometimes this is true. Parents can have a huge effect on the way their children behave, so if you have a horribly absent parent, or a parent who dies, it might catalyze behavior in your main character that pushes the story onward. But characters with loving, wonderful parents can still wade deeply into trouble, if need be. So think twice before getting rid of your characters’ parents. Is it necessary to do so, or are you using it as a plot device?
Sometimes parental absence (or presence) can be misused. Just like anything else, I need to believe it. Parents can’t be observant only when it’s convenient—for example, the MC has been behaving strangely for weeks without the parents noticing in the least, but the one time she really needs her freedom, her parents catch her doing something minor and give her an over-the-top grounding. I don’t believe this. I don’t believe it when every parent of every person in the story is absent, whether mentally or physically. Or when every single one is so obscenely overbearing that the MC and all her friends are tearing their hair out trying to get away.
Don’t get me wrong, I understand that sometimes parents really do need to be off doing their own thing, or need to be dead, or need to be bad parents. But it has to feel natural. It has to work within the story, not feel like it was forced in like a square peg in a round hole. I don't want to watch your characters running around crazily trying to deal with something that could've been fixed in three seconds flat by just asking an adult for help. I know, I know. Your teen MC should be doing things on their own. But not when it's unreasonable. It's like not googling something just because if they google it, you'll lose half your plot. Or not having cell service in the middle of a city, for the same reason.
Parents, like setting, need to be given thought. Consider yourself and your friends (even if you’re an adult!) Were you all raised exactly the same? Did you all have the exact same family situation? Wasn’t there always that one friend whose house you didn’t really want to go to, because their parents made you uncomfortable? Or that friend whose house you always wanted to go to because their mom was some kind of baking genius? Parents who embarrassed themselves by trying to look and/or act way younger than they were, and failing miserably?
There are all kinds. Give it some serious thought, and your story will be better—and more realistic—for it.