Yes, passengers are liable for all upgrades that the airline offers. Therefore, both passengers should book tickets for the same cabin, and the upgrade section should be available for both guests.