There is no need to cover cod when baking since it cooks so quickly. If you choose to cover it with foil, however, it can help retain moisture and lock in flavor.