No, some alcohol can remain.
Alcohol evaporates at a lower temperature than water, so it's often assumed that it all cooks off quickly. In reality it evaporates gradually along with the water and other liquids, and some stays behind.
A study by USDA researchers measured how much alcohol remained in dishes. Food flambéed retained about 75 percent of its alcohol. Simmered or baked dishes kept about 40 percent after 15 minutes, about 25 percent after an hour, and about 5 percent after two and a half hours. Dishes where alcohol is added after heating, or barely cooked, keep most of it.
The pan matters too. A wide pan with more surface area lets alcohol escape faster than a deep pot, and stirring helps.
In most recipes, the amount per serving is small. But if you're cooking for children, people in recovery, pregnant guests or anyone avoiding alcohol for religious reasons, it's worth choosing alcohol-free recipes or substitutes like stock with a splash of vinegar.