There is a no overnight parking rule at the railway station - otherwise everybody going to the airport would have the same idea, along with every motorhome travelling down the Ayrshire coast.
You’ll get a £60 charge notice from the council.
You can probably prebook a week at the airport for £50.