It doesn’t really matter, game over is just a few instructions:
Show a widget working as a game over, change level/reset some settings/info
You can run it in your Player, in the Controller, in an external Actor that will trigger it
The most important stuff is Accessibility
Once you lay out your code in various places you need to be able to access them and where you run a specific code - depends on you