What age is ok for being home alone?

An

As you guys know I’m just just a regular degular schmegular scroller on Facebook and IG and I came across this.

I think this was the dumbest and most dangerous shit you could do seeing as the kids was 5 with the oven running but what about you guys?