Caleb is 100% correct. If you are buying the property and not intending to live in the property its fraud. Once repairs are completed you are required to live in the home. If FHA comes out after the final inspection has been completed the renovation has been closed and they find no evidence of you occupying the home they will investigate further and could and would most likely call the loan immediately. I have seen it happen first hand. Sure you can roll the dice and see if you can get away and I am sure there have been people who have. It is a big risk though.
Neither program is designed as a flip program, both FHA and Fannie Mae acknowledge that. Yes you can certainly take the approach to flip the property and could have no issues . BUT there is also the risk of getting caught, especially if tying to pass the properties as owner occupied.
@Christian
To answer your question, lenders are required to hold loans on their books for a period of time for at least 6 months. It is an internal requirement, not something the consumer would see as a prepayment penalty for they are not allowed. If the loan were to be paid off either through a refinance or being sold the lender has to pay a penalty to their investor. I will emphasize it is not a penalty that you the consumer would pay at all. That said, if the loan is paid off early, we as the lender pay a penalty for not having that loan open for the required period of time. Hence the reason the 203k and HomeStyle are not a program designed for flipping. If you tell a lender you are intending to flip the property most probably would not do the loan for the above mentioned reason. That is why there are programs specifically designed for flipping "fix and flip financing". These loans are designed to be paid off as soon as possible.
I have been origination both renovation, construction, flip and regular mortgages for over a decade and can address any questions you have.