We usually say, "An apple a day keeps the doctor away." You're translation is correct, it just sounds a little to 'formal' to be a proverb. ;)