Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When marking Facebook messages as spam do I have to deactivate my account right after I report them or if I do it within 24 hours does it still work to delete my sent messages?
NO. You don't have to deactivate your account, even you don't need to logout right after reporting a message as spam or anything else.
See the Facebook Help Center:
Reporting a Message
Report a threatening Facebook message.
Required, but never shown