It 100% doesn't matter either way, as those bonuses always come with attrition requirements - you have to pay back all or part the bonus if you leave the company before some predetermined time period. If you don't agree to the payback terms then you simply don't get the bonus.
So a bonus paid before you start is more-or-less identical to a bonus paid with your first paycheck. You don't get to keep it if your offer is rescinded or you don't show up on your first day.
I've seen them be offered in jobs/industries/companies where there is a labor shortage or the job is difficult to fill for some reason. They might be standard-ish in some jobs/industries.
like I said, you'd almost always be required to stay for X amount of time - like a year plus usually, or you gotta pay some or all of it back.
Is this common in the USA? In the UK I've never been offered or heard of anyone receiving a bonus for signing a contract. Does anyone have a different experience?