Yes, you can prepare the glaze a day in advance. Store it in an airtight container in the refrigerator, and gently reheat it on the stove before applying it to the ham.