"Jp", as an American lawyer who's worked with Argentine ones, I understand that the common (and simplest) means may be to set up an Argentine company, then hire yourself. You'd receive a work visa and, after awhile, residency.
BUT I'm not an Argentine lawyer, so you'd be wise to consult one...