Your question is very hard to answer with the information you provided.
Each IOS have different feature sets with different memory and flash minimum requirements. The best answer to your question would be to use the Cisco IOS upgrate toolkit to help you find the answer.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: