No. You are not required to add a UPC code to your physical media product, however, if you are considering selling physical discs you should have a UPC code to track your sales and ensure that you are being paid your royalties and/or commissions correctly.
If you decide to use the discs for promotions or give-a-ways, you won't need a UPC code.