Get Controller ids for players

My plan is to use controller ids to check which player in my local coop game has died and then determine who is the winner by checking the remaining controller id. How would i go about this?