Yes, you can!
You have to the programmes on your phone or tablet while you're still in the UK and connected to the internet. Once the programmes are ed, you can watch them anywhere in the world or when you're offline.
The BBC uses geolocation technology to identify where you are, based on the location of your internet service provider (ISP). This is to ensure that only people in the UK can enjoy programmes on BBC iPlayer.
ed programmes can only be accessed on the device they've been ed to, and they expire at the same time as their online versions, so make sure you watch your s before they expire.