This is difficult to plan for and will likely just come naturally as you play through the game.
If you want to try to coordinate it, then you'll have to be mindful of enemy attack damage and attempt to balance it with blocks in order to get your HP to exactly 1. Once you finish a battle with 1 HP, this achievement will unlock.