Yes. TF2 runs entirely through Steam, so an account is required — the installer will walk you through creating one if you haven't got it already.