I'm not sure if I understood you, because it's quite simple, but though I think it's what you're looking for.
bind "f" "say_team HE IS $loc_here" - for where you are
bind "f" "say_team HE IS $loc_there" - for there where you're looking/aiming - good when you're still alive