The UK authorities cannot prosecute its citizens/ residents for crimes committed abroad. However, you can be prosecuted in the UK for acts committed abroad if you're accused of rape and sexual offenses under Schedule 2 of the 2003 Sexual Offenses Act.