Referring to a girl by her last name...

If I say something like nice one Smith, or something along those lines, is this a good move in online game/in person game?