If the parents recognize that they are incapable of taking care of the children, you might be able to get them to consent to naming you as the legal guardian so that you have authority to care for the kids until one or both parents are back on their feet. If this isn't an option, I recommend you consult with an attorney to determine whether you have grounds to file for custody, or whether pursuing a dependency might be appropriate.
Answered on Oct 17th, 2012 at 6:33 PM