Child Death Leave

Is child death leave only available when it is with a crime, or for any death of a child?
 
Thanks!