Only if there's a time constraint, in my experience. Otherwise, you try the free resource (rogue skill check) first.
Also, sometimes the spell has its own cost. If you're talking about the difference between Thieves' Tools and knock, for example, a Thieves' Tools check doesn't alert the entire...