Here's an example:
Let's say you have one city defender and you want to have another available in case the barbarian's swarm you, but, you don't want to pay the maintenance costs on this unit if you don't need him, you just need him on reserves. So, you build the unit to within 1 turn of...