I have never heard of that expression and I am not a big fan of Friends, but it is quite obvious as a native English speaker what it means.
It means : Oh wow, am I surprized, shocked. Very along the same lines is ' Well, I'll be damned ', when you can't believe something.