This is a pretty colloquial British phrase. With the exception of a small group of Red Dwarf fans, I don't think the average American would get this reference.
I'm assuming he means it literally, as in "I'll be right back." But I can imagine, if a situation is difficult or dangerous, it could also be used as expression of confidence. Sort of an "I can do this!" expression.