@LL227,
First off, this is not your business. I'm sure he's got access to the Internet and can ask these questions by himself.
But -
and let's assume you're typing for him or whatever - this depends on whether he is adopted or in foster care. Which might be what is going on here, that he's being fostered. Either way (i. e. whether he's adopted or is a foster child), this is going to mean court intervention.
I am sorry he feels this way and that this may (or may not, as he was just waking up and I take it there were no witnesses) have been happening to him. And suicidal thoughts are nothing to sneeze at - if he is feeling suicidal, then as a friend the best thing you can do for him is to get him to confide that to a trusted adult. A doctor would be best, but a teacher or a member of the clergy is fine. This is for him to tell them and not you, BTW.
A lot of people have issues with their parents when they are teenagers but they generally don't go looking around for a new set of parents. That doesn't mean it would be the best solution for him to stay, or to leave. Only he can really know that, with the help of a trusted adult who can look at the situation without being emotionally in the thick of it.
Also, if he does need to go to court, he is going to need a trusted adult to help him get that set up. These issues are thorny, which is why lawyers go to school for a long time.
So, Job One, please be a good friend to him and get him to open up to a trusted adult.