Statutory will differs with each city or county but I believe this should answer your question.
Statutory Will is made for a person(or people) by a Court in situations where the person does not have the mental capacity to make the will for themselves or do not have the capacity to understand all that is necessary to making a Will.