There is no defined time that has connection to the Network on Mac, until the password to that network is updated or the user has forcibly disconnected the active connections.