While fresh apricots can add a nice flavor, they won't provide the same consistency or sweetness as apricot jam. If you want to use fresh apricots, consider making a homemade apricot jam or compote to use in the recipe.