Yes, a single XML sitemap file should contain no more than 50,000 URLs and should be no larger than 50MB when uncompressed. If you have more URLs, you will need to create multiple sitemap files and include them in a sitemap index file.