Vote by mail deadlines vary by state. Regardless, the USPS is generally recommending to allow one week between putting your ballot in the mail and your state’s deadline.
Haven't mailed your ballot yet? USPS recommends you do by Tuesday to make state deadlines