This paper presents a regenerative braking logic that aims to maximize the recovery of energy during braking without compromising the stability of the vehicle. This model of regenerative braking ensures that the regenerative torque of the electric motor (for front- and rear-wheel drive vehicles) or electric motors (for all-wheel drive vehicles equipped with one motor for each axle) is exploited to the maximum, avoiding the locking of the driving wheels and, subsequently, if necessary, integrating the braking with the traditional braking system. The priority of the logic is that of maximizing energy recovery under braking, followed by the pursuit of optimal braking distribution. This last aspect in particular occurs when there is an integration of braking and, for vehicles with all-wheel drive, also when choosing the distribution of regenerative torque between the two electric motors. The logic was tested via simulation on a front-, rear-, and all-wheel drive compact car, and from the simulations, it emerged that, on the WLTC driving cycle, the logic saved between 29.5 and 30.3% in consumption compared to the same vehicle without regenerative recovery, and 22.6–23.5% compared to a logic commonly adopted on the market. On cycle US06, it saves 23.9–24.4% and 19.0–19.5%, respectively.