Yes, it works with both digital and physical copies. Please note that a physical copy of the game will require a console with a disc drive (PS5/Xbox Series X) in order to upgrade. Also, be aware though that physical stores also sell PS5-only packaged products which will be playable only on a PlayStation 5 console.