You just can't put any random command to ROM and have it automagically executed.
This is not what resident command means.
Kickstart resident tag != resident commands.
However, some things are designed to work as both regular command and ROM resident tags (for example IDEFix and couple of other things). These typically have some way sneaky way of passing the arguments.
This however has nothing to do with resident commands.