Yes, you can rejoin the Discord server anytime after leaving if you have the link or you are invited.