Not directly, no. But you can create a group that contains the two groups you want to assign and use that group in the resource.
Hi @AMIT KUMAR, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.