It depends on where your stop-loss and take-profit orders are stored. If it is deposited in the quotation machine of a futures company, it will remain valid as long as you don't cancel it yourself, overnight, of course. If it is the stop-loss and profit-taking function of trading software, it usually exists on your own computer, so even if the computer is turned off or disconnected, it cannot be triggered overnight.
As far as I know, orders such as stop-loss and profit-taking conditions of CTP trading system in Shanghai Stock Exchange are stored in quotation machines, which can be used overnight, but the old Kingstar trading system is not.