For the sportsbook bonus, no. It’s a free bet, so you do need to wager it, settle it, and then claim your winnings if there are any.
The casino bonus is different. You’ll receive your casino deposit match after registering and accepting the bonus offer. Once you’ve met the wagering requirement, the money will be released, and you can withdraw it.